Integrand size = 33, antiderivative size = 216 \[ \int \frac {\cos ^3(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{3/2}} \, dx=\frac {(11 A-15 B) \text {arctanh}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {a+a \cos (c+d x)}}\right )}{2 \sqrt {2} a^{3/2} d}+\frac {(A-B) \cos ^3(c+d x) \sin (c+d x)}{2 d (a+a \cos (c+d x))^{3/2}}-\frac {(65 A-93 B) \sin (c+d x)}{15 a d \sqrt {a+a \cos (c+d x)}}-\frac {(5 A-9 B) \cos ^2(c+d x) \sin (c+d x)}{10 a d \sqrt {a+a \cos (c+d x)}}+\frac {(35 A-39 B) \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{30 a^2 d} \]
1/2*(A-B)*cos(d*x+c)^3*sin(d*x+c)/d/(a+a*cos(d*x+c))^(3/2)+1/4*(11*A-15*B) *arctanh(1/2*sin(d*x+c)*a^(1/2)*2^(1/2)/(a+a*cos(d*x+c))^(1/2))/a^(3/2)/d* 2^(1/2)-1/15*(65*A-93*B)*sin(d*x+c)/a/d/(a+a*cos(d*x+c))^(1/2)-1/10*(5*A-9 *B)*cos(d*x+c)^2*sin(d*x+c)/a/d/(a+a*cos(d*x+c))^(1/2)+1/30*(35*A-39*B)*si n(d*x+c)*(a+a*cos(d*x+c))^(1/2)/a^2/d
Time = 0.61 (sec) , antiderivative size = 142, normalized size of antiderivative = 0.66 \[ \int \frac {\cos ^3(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{3/2}} \, dx=\frac {-15 (11 A-15 B) \text {arctanh}\left (\sin \left (\frac {1}{2} (c+d x)\right )\right ) \cos ^5\left (\frac {1}{2} (c+d x)\right )+\cos ^3\left (\frac {1}{2} (c+d x)\right ) (85 A-141 B+3 (20 A-39 B) \cos (c+d x)+(-10 A+6 B) \cos (2 (c+d x))-3 B \cos (3 (c+d x))) \sin \left (\frac {1}{2} (c+d x)\right )}{15 d (a (1+\cos (c+d x)))^{3/2} \left (-1+\sin ^2\left (\frac {1}{2} (c+d x)\right )\right )} \]
(-15*(11*A - 15*B)*ArcTanh[Sin[(c + d*x)/2]]*Cos[(c + d*x)/2]^5 + Cos[(c + d*x)/2]^3*(85*A - 141*B + 3*(20*A - 39*B)*Cos[c + d*x] + (-10*A + 6*B)*Co s[2*(c + d*x)] - 3*B*Cos[3*(c + d*x)])*Sin[(c + d*x)/2])/(15*d*(a*(1 + Cos [c + d*x]))^(3/2)*(-1 + Sin[(c + d*x)/2]^2))
Time = 1.34 (sec) , antiderivative size = 232, normalized size of antiderivative = 1.07, number of steps used = 17, number of rules used = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.485, Rules used = {3042, 3456, 27, 3042, 3462, 27, 3042, 3447, 3042, 3502, 27, 3042, 3230, 3042, 3128, 219}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\cos ^3(c+d x) (A+B \cos (c+d x))}{(a \cos (c+d x)+a)^{3/2}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {\sin \left (c+d x+\frac {\pi }{2}\right )^3 \left (A+B \sin \left (c+d x+\frac {\pi }{2}\right )\right )}{\left (a \sin \left (c+d x+\frac {\pi }{2}\right )+a\right )^{3/2}}dx\) |
\(\Big \downarrow \) 3456 |
\(\displaystyle \frac {\int \frac {\cos ^2(c+d x) (6 a (A-B)-a (5 A-9 B) \cos (c+d x))}{2 \sqrt {\cos (c+d x) a+a}}dx}{2 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {\cos ^2(c+d x) (6 a (A-B)-a (5 A-9 B) \cos (c+d x))}{\sqrt {\cos (c+d x) a+a}}dx}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {\sin \left (c+d x+\frac {\pi }{2}\right )^2 \left (6 a (A-B)-a (5 A-9 B) \sin \left (c+d x+\frac {\pi }{2}\right )\right )}{\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}dx}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3462 |
\(\displaystyle \frac {\frac {2 \int -\frac {\cos (c+d x) \left (4 a^2 (5 A-9 B)-a^2 (35 A-39 B) \cos (c+d x)\right )}{2 \sqrt {\cos (c+d x) a+a}}dx}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {-\frac {\int \frac {\cos (c+d x) \left (4 a^2 (5 A-9 B)-a^2 (35 A-39 B) \cos (c+d x)\right )}{\sqrt {\cos (c+d x) a+a}}dx}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {-\frac {\int \frac {\sin \left (c+d x+\frac {\pi }{2}\right ) \left (4 a^2 (5 A-9 B)-a^2 (35 A-39 B) \sin \left (c+d x+\frac {\pi }{2}\right )\right )}{\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}dx}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3447 |
\(\displaystyle \frac {-\frac {\int \frac {4 a^2 (5 A-9 B) \cos (c+d x)-a^2 (35 A-39 B) \cos ^2(c+d x)}{\sqrt {\cos (c+d x) a+a}}dx}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {-\frac {\int \frac {4 a^2 (5 A-9 B) \sin \left (c+d x+\frac {\pi }{2}\right )-a^2 (35 A-39 B) \sin \left (c+d x+\frac {\pi }{2}\right )^2}{\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}dx}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3502 |
\(\displaystyle \frac {-\frac {\frac {2 \int -\frac {a^3 (35 A-39 B)-2 a^3 (65 A-93 B) \cos (c+d x)}{2 \sqrt {\cos (c+d x) a+a}}dx}{3 a}-\frac {2 a (35 A-39 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{3 d}}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {-\frac {-\frac {\int \frac {a^3 (35 A-39 B)-2 a^3 (65 A-93 B) \cos (c+d x)}{\sqrt {\cos (c+d x) a+a}}dx}{3 a}-\frac {2 a (35 A-39 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{3 d}}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {-\frac {-\frac {\int \frac {a^3 (35 A-39 B)-2 a^3 (65 A-93 B) \sin \left (c+d x+\frac {\pi }{2}\right )}{\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}dx}{3 a}-\frac {2 a (35 A-39 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{3 d}}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3230 |
\(\displaystyle \frac {-\frac {-\frac {15 a^3 (11 A-15 B) \int \frac {1}{\sqrt {\cos (c+d x) a+a}}dx-\frac {4 a^3 (65 A-93 B) \sin (c+d x)}{d \sqrt {a \cos (c+d x)+a}}}{3 a}-\frac {2 a (35 A-39 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{3 d}}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {-\frac {-\frac {15 a^3 (11 A-15 B) \int \frac {1}{\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}dx-\frac {4 a^3 (65 A-93 B) \sin (c+d x)}{d \sqrt {a \cos (c+d x)+a}}}{3 a}-\frac {2 a (35 A-39 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{3 d}}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 3128 |
\(\displaystyle \frac {-\frac {-\frac {-\frac {30 a^3 (11 A-15 B) \int \frac {1}{2 a-\frac {a^2 \sin ^2(c+d x)}{\cos (c+d x) a+a}}d\left (-\frac {a \sin (c+d x)}{\sqrt {\cos (c+d x) a+a}}\right )}{d}-\frac {4 a^3 (65 A-93 B) \sin (c+d x)}{d \sqrt {a \cos (c+d x)+a}}}{3 a}-\frac {2 a (35 A-39 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{3 d}}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle \frac {-\frac {-\frac {\frac {15 \sqrt {2} a^{5/2} (11 A-15 B) \text {arctanh}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {a \cos (c+d x)+a}}\right )}{d}-\frac {4 a^3 (65 A-93 B) \sin (c+d x)}{d \sqrt {a \cos (c+d x)+a}}}{3 a}-\frac {2 a (35 A-39 B) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{3 d}}{5 a}-\frac {2 a (5 A-9 B) \sin (c+d x) \cos ^2(c+d x)}{5 d \sqrt {a \cos (c+d x)+a}}}{4 a^2}+\frac {(A-B) \sin (c+d x) \cos ^3(c+d x)}{2 d (a \cos (c+d x)+a)^{3/2}}\) |
((A - B)*Cos[c + d*x]^3*Sin[c + d*x])/(2*d*(a + a*Cos[c + d*x])^(3/2)) + ( (-2*a*(5*A - 9*B)*Cos[c + d*x]^2*Sin[c + d*x])/(5*d*Sqrt[a + a*Cos[c + d*x ]]) - ((-2*a*(35*A - 39*B)*Sqrt[a + a*Cos[c + d*x]]*Sin[c + d*x])/(3*d) - ((15*Sqrt[2]*a^(5/2)*(11*A - 15*B)*ArcTanh[(Sqrt[a]*Sin[c + d*x])/(Sqrt[2] *Sqrt[a + a*Cos[c + d*x]])])/d - (4*a^3*(65*A - 93*B)*Sin[c + d*x])/(d*Sqr t[a + a*Cos[c + d*x]]))/(3*a))/(5*a))/(4*a^2)
3.2.8.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[-2/d Subst[Int[1/(2*a - x^2), x], x, b*(Cos[c + d*x]/Sqrt[a + b*Sin[c + d*x]])], x] /; FreeQ[{a, b, c, d}, x] && EqQ[a^2 - b^2, 0]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> Simp[(-d)*Cos[e + f*x]*((a + b*Sin[e + f*x])^m/( f*(m + 1))), x] + Simp[(a*d*m + b*c*(m + 1))/(b*(m + 1)) Int[(a + b*Sin[e + f*x])^m, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && !LtQ[m, -2^(-1)]
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> Int[(a + b*Sin[e + f*x])^m*(A*c + (B*c + A*d)*Sin[e + f*x] + B*d*Sin[e + f*x]^2), x] /; FreeQ[{a, b, c, d, e, f, A, B, m}, x] && NeQ[b*c - a*d, 0]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Sim p[(A*b - a*B)*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/( a*f*(2*m + 1))), x] - Simp[1/(a*b*(2*m + 1)) Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^(n - 1)*Simp[A*(a*d*n - b*c*(m + 1)) - B*(a*c*m + b*d*n) - d*(a*B*(m - n) + A*b*(m + n + 1))*Sin[e + f*x], x], x], x] /; Fre eQ[{a, b, c, d, e, f, A, B}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] & & NeQ[c^2 - d^2, 0] && LtQ[m, -2^(-1)] && GtQ[n, 0] && IntegerQ[2*m] && (In tegerQ[2*n] || EqQ[c, 0])
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Sim p[(-B)*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/(f*(m + n + 1))), x] + Simp[1/(b*(m + n + 1)) Int[(a + b*Sin[e + f*x])^m*(c + d*S in[e + f*x])^(n - 1)*Simp[A*b*c*(m + n + 1) + B*(a*c*m + b*d*n) + (A*b*d*(m + n + 1) + B*(a*d*m + b*c*n))*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, c, d, e, f, A, B, m}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[n, 0] && (IntegerQ[n] || EqQ[m + 1/2, 0])
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[(-C)*Co s[e + f*x]*((a + b*Sin[e + f*x])^(m + 1)/(b*f*(m + 2))), x] + Simp[1/(b*(m + 2)) Int[(a + b*Sin[e + f*x])^m*Simp[A*b*(m + 2) + b*C*(m + 1) + (b*B*(m + 2) - a*C)*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, e, f, A, B, C, m}, x] && !LtQ[m, -1]
Leaf count of result is larger than twice the leaf count of optimal. \(444\) vs. \(2(189)=378\).
Time = 4.57 (sec) , antiderivative size = 445, normalized size of antiderivative = 2.06
method | result | size |
default | \(\frac {\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (-96 B \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\, \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+80 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) A +96 B \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\, \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+40 A \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-165 A \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -240 B \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\, \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+225 B \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -135 A \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+165 A \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) a +255 B \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-225 B \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) a \right )}{60 \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) a^{\frac {5}{2}} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d}\) | \(445\) |
parts | \(\frac {A \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (16 \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\, \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+8 \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\, \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-33 \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -27 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+33 \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) a \right )}{12 \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) a^{\frac {5}{2}} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d}+\frac {B \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (-32 \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\, \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+32 \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\, \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+75 \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -80 \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\, \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-75 \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) a +85 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\right )}{20 \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) a^{\frac {5}{2}} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d}\) | \(501\) |
1/60/cos(1/2*d*x+1/2*c)*2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*(-96*B*(a*s in(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)*sin(1/2*d*x+1/2*c)^6+80*a^(1/2)*(a*sin( 1/2*d*x+1/2*c)^2)^(1/2)*sin(1/2*d*x+1/2*c)^4*A+96*B*(a*sin(1/2*d*x+1/2*c)^ 2)^(1/2)*a^(1/2)*sin(1/2*d*x+1/2*c)^4+40*A*a^(1/2)*(a*sin(1/2*d*x+1/2*c)^2 )^(1/2)*sin(1/2*d*x+1/2*c)^2-165*A*ln(4*(a^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^ (1/2)+a)/cos(1/2*d*x+1/2*c))*sin(1/2*d*x+1/2*c)^2*a-240*B*(a*sin(1/2*d*x+1 /2*c)^2)^(1/2)*a^(1/2)*sin(1/2*d*x+1/2*c)^2+225*B*ln(4*(a^(1/2)*(a*sin(1/2 *d*x+1/2*c)^2)^(1/2)+a)/cos(1/2*d*x+1/2*c))*sin(1/2*d*x+1/2*c)^2*a-135*A*( a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+165*A*ln(4*(a^(1/2)*(a*sin(1/2*d*x+1 /2*c)^2)^(1/2)+a)/cos(1/2*d*x+1/2*c))*a+255*B*(a*sin(1/2*d*x+1/2*c)^2)^(1/ 2)*a^(1/2)-225*B*ln(4*(a^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)+a)/cos(1/2*d *x+1/2*c))*a)/a^(5/2)/sin(1/2*d*x+1/2*c)/(a*cos(1/2*d*x+1/2*c)^2)^(1/2)/d
Time = 0.32 (sec) , antiderivative size = 224, normalized size of antiderivative = 1.04 \[ \int \frac {\cos ^3(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{3/2}} \, dx=-\frac {15 \, \sqrt {2} {\left ({\left (11 \, A - 15 \, B\right )} \cos \left (d x + c\right )^{2} + 2 \, {\left (11 \, A - 15 \, B\right )} \cos \left (d x + c\right ) + 11 \, A - 15 \, B\right )} \sqrt {a} \log \left (-\frac {a \cos \left (d x + c\right )^{2} + 2 \, \sqrt {2} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {a} \sin \left (d x + c\right ) - 2 \, a \cos \left (d x + c\right ) - 3 \, a}{\cos \left (d x + c\right )^{2} + 2 \, \cos \left (d x + c\right ) + 1}\right ) - 4 \, {\left (12 \, B \cos \left (d x + c\right )^{3} + 4 \, {\left (5 \, A - 3 \, B\right )} \cos \left (d x + c\right )^{2} - 12 \, {\left (5 \, A - 9 \, B\right )} \cos \left (d x + c\right ) - 95 \, A + 147 \, B\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{120 \, {\left (a^{2} d \cos \left (d x + c\right )^{2} + 2 \, a^{2} d \cos \left (d x + c\right ) + a^{2} d\right )}} \]
-1/120*(15*sqrt(2)*((11*A - 15*B)*cos(d*x + c)^2 + 2*(11*A - 15*B)*cos(d*x + c) + 11*A - 15*B)*sqrt(a)*log(-(a*cos(d*x + c)^2 + 2*sqrt(2)*sqrt(a*cos (d*x + c) + a)*sqrt(a)*sin(d*x + c) - 2*a*cos(d*x + c) - 3*a)/(cos(d*x + c )^2 + 2*cos(d*x + c) + 1)) - 4*(12*B*cos(d*x + c)^3 + 4*(5*A - 3*B)*cos(d* x + c)^2 - 12*(5*A - 9*B)*cos(d*x + c) - 95*A + 147*B)*sqrt(a*cos(d*x + c) + a)*sin(d*x + c))/(a^2*d*cos(d*x + c)^2 + 2*a^2*d*cos(d*x + c) + a^2*d)
Timed out. \[ \int \frac {\cos ^3(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{3/2}} \, dx=\text {Timed out} \]
Timed out. \[ \int \frac {\cos ^3(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{3/2}} \, dx=\text {Timed out} \]
Exception generated. \[ \int \frac {\cos ^3(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{3/2}} \, dx=\text {Exception raised: TypeError} \]
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:Unable to divide, perhaps due to ro unding error%%%{%%{[%%%{%%{[2475880078570760549798248448,0]:[1,0,-2]%%},[1 0]%%%},0]
Timed out. \[ \int \frac {\cos ^3(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{3/2}} \, dx=\int \frac {{\cos \left (c+d\,x\right )}^3\,\left (A+B\,\cos \left (c+d\,x\right )\right )}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{3/2}} \,d x \]